<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta name="keywords" content="书评区,评论吧">
    <meta name="description" content="最新章节的评论, 欢迎书友来此评论。更多精彩尽在起点手机官网。">
    <link rel="shortcut icon" href="/images/favicon.0.2.ico">
    <title>书评详情_起点中文网</title>
    <link rel="stylesheet" href="/dist/frozen/css/frozen.css">
    <link rel="stylesheet" href="/css/sprite.css">
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/index.css">
    <link rel="stylesheet" href="/css/my.css">
    <link rel="stylesheet" href="/css/book.css">
    <link rel="stylesheet" href="/css/forum.css">
    <link rel="stylesheet" href="/dist/dropload/css/dropload.css">
    <% include head.ejs%>
    <style>
        .aside{
            width:100%;
            display: none;
        }
        .popup-input-btn {
            overflow: hidden;
            border-bottom: 1px solid #f0f1f2;
        }
        .popup-input-x {
            padding: 1rem;
        }
        .popup-input-btn .btn-blank {
            font-size: .875rem;
            line-height: 2.75rem;
            width: 3.75rem;
            height: 2.75rem;
            padding: 0;
            border: 0;
            text-align: center;
            outline: 0;
            background-color: #fff;
        }
        .popup-input-btn .btn-blank:first-child {
            float: left;
        }
        .popup-input-btn .btn-blank:last-child {
            float: right;
        }
        .popup-input {
            width: 100%;
            height: 4.875rem;
            padding: 0;
            resize: none;
            border: 0;
            outline: 0 none;
        }
    </style>
    <script>
        var bid=<%=bid%>;
        var session=<%=session%>;
    </script>
    <script src="/dist/dropload/lib/dropload.js"></script>
</head>
<body>
<div class="page page-bookshelft-my page-comment-detail" style="margin-bottom:2.75rem;">
    <div class="content">
        <header id="header" class="header" data-l1="41">
            <a href="/book/forum/<%=bid%>" class="header-back jsBack" data-eid="mqd_G14">
                <i class="icon"></i>
            </a>
            <h1 class="header-back-title">书评详情</h1>
            <div class="header-operate">
                <a id="openSearchPopup" class="icon icon-search" title="搜索">
                </a>
                <a id="openGuide" class="icon icon-more" data-key="1" title="更多">
                </a>
            </div>
        </header>
        <div class="module module-merge">
            <div class="comm-detail-x">
                <div class="book-layout">
                    <div class="book-author-vv">
                        <img class="book-author-avatar" id="avatar" src="" alt="头像">
                    </div>
                    <div class="book-cell">
                        <div class="book-meta-comment">
                            <div class="book-meta-l" id="bName">加载中</div>
                        </div>
                        <time class="book-comment-time" id="times">加载中</time>
                    </div>
                </div>
                <section class="comm-details">
                    <h6 class="comm-summary" id="title"></h6>
                    <content class="comm-content" id="cnt"></content>
                </section>
            </div>
        </div>
        <div class="module">
            <div class="module-header">
                <div class="module-header-l">
                    <h3 class="module-title">全部回复（<span id="replyCount">0</span>）</h3>
                </div>
            </div>
            <div class="module-content">
                <ol class="book-ol book-ol-comment" id="postListContainer">
                </ol>
            </div>
        </div>
    </div>
</div>
<%if(session==false){%>
<div class="writeSay" onclick="location.href='/login'">
    <i></i>
    <span class="comm-fixed-btn">回复</span>
</div>
<%}else{%>
<div class="writeSay" id="huifu">
    <i></i>
    <span class="comm-fixed-btn">回复</span>
</div>
<%}%>
<aside class="aside" data-is-bind-scroll="true" id="halert">
    <i class="aside-overlay" role="button" title="点击关闭浮层" id="closealert"></i>
    <div class="aside-popup">
        <form id="commReplyPopup" class="mybook-group-create" data-brid="">
            <div class="popup-input-btn">
                <a href="javascript:" id="commReplyCancel" class="btn-blank">取消</a>
                <button type="button" id="fabiao" class="btn-blank red">发表</button>
            </div>
            <div class="popup-input-x">
                <textarea class="popup-input" id="post-content-input"></textarea>
            </div>
        </form>
    </div>
</aside>
<% include openMsg.ejs %>
<% include searchPup.ejs %>
</body>
<script type="text/template" id="reviewtpl">
    <li class="book-li" data-urid="{{urid}}">
        <a href="javascript:" class="book-layout">
            <div class="book-author-vv">
                <img class="book-author-avatar" src="{{imgurl}}" alt="{{nickname}}的头像">
            </div>
            <div class="book-cell">
                <div class="book-meta-comment">
                    <div class="book-meta-l">{{nickname}}</div>
                    <time class="book-meta-r">{{startTime}}</time>
                </div>
                <p class="book-comment-p">
                    {{cnt}}
                </p>
            </div>
        </a>
    </li>
</script>
<script src="/js/thread.js"></script>
</html>